#pragma once

#include "Constants.h"
#include "windows.h"
using namespace std;

class DLLEXPIMP System
{
public:
	//
	//  Process
	//

	//	Start a command line to execute the input params
	static DWORD CallNewProcess(CString strParams, bool HideWindow = true);
	static bool IsExe64Bit(CString strExePath);
};

// 
// Registry
//
// strSubKey looks like this: SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall
//						no need to add the "\\" at topmost
CString DLLEXPIMP QueryRegistryValue(HKEY hRoot, CString strSubKey, CString strValueName/*, bool b64bit = false*/);
